﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<ChoViet.Model.Area>>" %>
<%@ Import Namespace="ChoViet.Lib.Common" %>
<%
    foreach (var item in Model)
    {%>
      <div class="province1">
        <h3><%=Html.Encode(item.Name)%></h3>
        <ul>
            <%foreach (var it in item.Cities.Where(e => e.AreaID == item.ID))
              {%>
                  <li>
                    <a href="<%=LinkUtils.UrlAdIndexDefault("","",it.ShortName,"","",0)%>"><%=it.Name%></a>
                  </li>
              <%} %>
        </ul>
      </div>  
   <% }
    %>
